package com.ubo.uspeed;

import com.ubo.java.model.EModifier;
import com.ubo.java.model.EVisibility;
import com.ubo.java.model.classifier.EPrimitiveTypes;

public class UAttribute {

	protected String mName;
	protected EPrimitiveTypes mType;
	protected EVisibility mVis;
	protected EModifier mMod;
	protected boolean key;

	public UAttribute(String mName) {
		this.mName = mName;
	}

	public String getmName() {
		return mName;
	}

	public void setmName(String mName) {
		this.mName = mName;
	}

	public EPrimitiveTypes getmType() {
		return mType;
	}

	public void setmType(EPrimitiveTypes mType) {
		this.mType = mType;
	}

	public void accept(Visiteur v) {
		v.visitAttribute(this);
	}

	public EVisibility getmVis() {
		return mVis;
	}

	public void setmVis(EVisibility mVis) {
		this.mVis = mVis;
	}

	public EModifier getmMod() {
		return mMod;
	}

	public void setmMod(EModifier mMod) {
		this.mMod = mMod;
	}

	public boolean isKey() {
		return key;
	}

	public void setKey(boolean key) {
		this.key = key;
	}

}
